package logic.bean;

import java.io.Serializable;
import java.util.List;


public class ColumnInfos
        implements
        Serializable
{
	private static final long serialVersionUID = 146057907232713718L;
	private String            columnName;
	private List<BookInfo>    bookInfos;
	private int               columnId;
	private int               firstSortId;
	
	private int layout = 0;//int类型，栏目在首页的布局，1==横排，2==竖排
			
	
    private int phoneIndexShowNum= 0;//int类型，手机类栏目首页显示书籍数量
    private int padIndexShowNum= 0;//int类型，pad类栏目首页显示书籍数量 

	
	public String getColumnName() {
		return columnName;
	}
	
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	
	public List<BookInfo> getBookInfos() {
		return bookInfos;
	}
	
	public void setBookInfos(List<BookInfo> bookInfos) {
		this.bookInfos = bookInfos;
	}
	
	public int getColumnId() {
		return columnId;
	}
	
	public void setColumnId(int columnId) {
		this.columnId = columnId;
	}
	
	public int getFirstSortId() {
		return firstSortId;
	}
	
	public void setFirstSortId(int firstSortId) {
		this.firstSortId = firstSortId;
	}

	/**
	 * @return the layout
	 */
	public int getLayout() {
		return layout;
	}

	/**
	 * @param layout the layout to set
	 */
	public void setLayout(int layout) {
		this.layout = layout;
	}

	/**
	 * @return the padIndexShowNum
	 */
	public int getPadIndexShowNum() {
		return padIndexShowNum;
	}

	/**
	 * @param padIndexShowNum the padIndexShowNum to set
	 */
	public void setPadIndexShowNum(int padIndexShowNum) {
		this.padIndexShowNum = padIndexShowNum;
	}

	/**
	 * @return the phoneIndexShowNum
	 */
	public int getPhoneIndexShowNum() {
		return phoneIndexShowNum;
	}

	/**
	 * @param phoneIndexShowNum the phoneIndexShowNum to set
	 */
	public void setPhoneIndexShowNum(int phoneIndexShowNum) {
		this.phoneIndexShowNum = phoneIndexShowNum;
	}

	@Override
    public String toString() {
	    return "ColumnInfos [columnName=" + columnName + ", bookInfos=" + bookInfos + ", columnId=" + columnId + ", firstSortId=" + firstSortId + "]";
    }
	
	
	
}
